<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    {:token()}
    <input type="hidden" name="row[id]" value="{$row.id|htmlentities}">


    <div class="form-group">
        <label for="c-hc_balance" class="control-label col-xs-12 col-sm-2">HC余额:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-hc_balance" data-rule="required" class="form-control" name="row[hc_balance]" type="number" value="{$row.hc_balance|htmlentities}" >
        </div>
    </div>
    <div class="form-group">
        <label for="c-hc_balance" class="control-label col-xs-12 col-sm-2">USDT余额:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-usdt_balance" data-rule="required" class="form-control" name="row[usdt_balance]" type="number" value="{$row.usdt_balance|htmlentities}" >
        </div>
    </div>
    <div class="form-group">
        <label for="c-shouyi_balance" class="control-label col-xs-12 col-sm-2">HC总收益:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-shouyi_balance" data-rule="required" class="form-control" name="row[shouyi_balance]" type="number" value="{$row.shouyi_balance|htmlentities}" >
        </div>
    </div>
    <div class="form-group">
        <label for="c-jingtai_amount" class="control-label col-xs-12 col-sm-2">静态收益:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-jingtai_amount" data-rule="required" class="form-control" name="row[jingtai_amount]" type="number" value="{$row.jingtai_amount|htmlentities}" >
        </div>
    </div>
    <div class="form-group">
        <label for="c-tuiguang_amount" class="control-label col-xs-12 col-sm-2">推广收益:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-tuiguang_amount" data-rule="required" class="form-control" name="row[tuiguang_amount]" type="number" value="{$row.tuiguang_amount|htmlentities}" >
        </div>
    </div>
    <div class="form-group">
        <label for="c-hcbao_amount" class="control-label col-xs-12 col-sm-2">HC宝收益:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-hcbao_amount" data-rule="required" class="form-control" name="row[hcbao_amount]" type="number" value="{$row.hcbao_amount|htmlentities}" >
        </div>
    </div>
    <div class="form-group">
        <label for="c-jianshebao_amount	" class="control-label col-xs-12 col-sm-2">建设宝收益:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-jianshebao_amount	" data-rule="required" class="form-control" name="row[jianshebao_amount	]" type="number" value="{$row.jianshebao_amount	|htmlentities}" >
        </div>
    </div>
    <div class="form-group">
        <label for="c-quyu_amount" class="control-label col-xs-12 col-sm-2">区域收益:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-quyu_amount" data-rule="required" class="form-control" name="row[quyu_amount]" type="number" value="{$row.quyu_amount|htmlentities}" >
        </div>
    </div>
    <div class="form-group">
        <label for="c-tuandui_amount" class="control-label col-xs-12 col-sm-2">团队收益:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-tuandui_amount" data-rule="required" class="form-control" name="row[tuandui_amount]" type="number" value="{$row.tuandui_amount|htmlentities}" >
        </div>
    </div>
    <div class="form-group">
        <label for="c-hcc_balance" class="control-label col-xs-12 col-sm-2">HCC余额:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-hcc_balance" data-rule="required" class="form-control" name="row[hcc_balance]" type="number" value="{$row.hcc_balance|htmlentities}" >
        </div>
    </div>
    <div class="form-group">
        <label for="c-hc_balance" class="control-label col-xs-12 col-sm-2">等级:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-level" data-rule="required" class="form-control" name="row[level]" type="text" value="{$row.level|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-hc_balance" class="control-label col-xs-12 col-sm-2">身份:</label>
        <div class="col-xs-12 col-sm-4">
            <select id="c-identity_id" data-rule="required" class="form-control" name="row[identity_id]">
                <option {if condition="$row.identity_id==0 || $row.identity_id==4"}selected="selected"{/if} value="4">游客</option>
                <option {if condition="$row.identity_id==1"}selected="selected"{/if} value="1">创客</option>
                <option {if condition="$row.identity_id==2"}selected="selected"{/if} value="2">区长</option>
                <option {if condition="$row.identity_id==3"}selected="selected"{/if} value="3">城主</option>
            </select>
        </div>
    </div>
    <div class="form-group">
        <label for="c-is_shishang" class="control-label col-xs-12 col-sm-2">省市区:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-city" class="form-control" data-toggle="city-picker" name="row[city]" type="text" value="{$row.city|htmlentities}" />
        </div>
    </div>
    <div class="form-group">
        <label for="c-is_freeze" class="control-label col-xs-12 col-sm-2">是否冻结:</label>
        <div class="col-xs-12 col-sm-4">
            <input  id="c-is_freeze" name="row[is_freeze]" type="hidden" value="{$row.is_freeze}">
            <a href="javascript:;" data-toggle="switcher" class="btn-switcher" data-input-id="c-is_freeze" data-yes="1" data-no="0" >
                <i class="fa fa-toggle-on text-success {eq name="$row.is_freeze" value="0"}fa-flip-horizontal text-gray{/eq} fa-2x"></i>
            </a>
        </div>
    </div>
    <div class="form-group">
        <label for="c-is_shishang" class="control-label col-xs-12 col-sm-2">是否成为市商:</label>
        <div class="col-xs-12 col-sm-4">
            <input  id="c-is_shishang" name="row[is_shishang]" type="hidden" value="{$row.is_shishang}">
            <a href="javascript:;" data-toggle="switcher" class="btn-switcher" data-input-id="c-is_shishang" data-yes="1" data-no="0" >
                <i class="fa fa-toggle-on text-success {eq name="$row.is_shishang" value="0"}fa-flip-horizontal text-gray{/eq} fa-2x"></i>
            </a>
        </div>
    </div>
    <div class="form-group">
        <label for="c-is_stop" class="control-label col-xs-12 col-sm-2">是否关闭自动升级:</label>
        <div class="col-xs-12 col-sm-4">
            <input  id="c-is_stop" name="row[is_stop]" type="hidden" value="{$row.is_stop}">
            <a href="javascript:;" data-toggle="switcher" class="btn-switcher" data-input-id="c-is_stop" data-yes="1" data-no="0" >
                <i class="fa fa-toggle-on text-success {eq name="$row.is_stop" value="0"}fa-flip-horizontal text-gray{/eq} fa-2x"></i>
            </a>
        </div>
    </div>
    <div class="form-group">
        <label for="c-is_yuangong" class="control-label col-xs-12 col-sm-2">是否内部员工:</label>
        <div class="col-xs-12 col-sm-4">
            <input  id="c-is_yuangong" name="row[is_yuangong]" type="hidden" value="{$row.is_yuangong}">
            <a href="javascript:;" data-toggle="switcher" class="btn-switcher" data-input-id="c-is_yuangong" data-yes="1" data-no="0" >
                <i class="fa fa-toggle-on text-success {eq name="$row.is_yuangong" value="0"}fa-flip-horizontal text-gray{/eq} fa-2x"></i>
            </a>
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
